﻿using Common.Base;
using Common.Enums;

using GameCommon.ComponentInterfaces;
using GameCommon.HitBoxes;

namespace GameCommon.ServiceInterfaces
{
    public interface IComponentModifier
    {
        RectangleHitBox GetTextHitBox(ITextHitBox text, string command);

        void ApplyAlignments(Dimension componentDimension, Dimension parentDimension, Offset offset, HorizontalAlignment horizontalAlignmentalignment, VerticalAlignment verticalAlignment);

        void ApplyAlignment(Dimension componentDimension, Dimension parentDimension, Offset offset, HorizontalAlignment alignment);

        void ApplyAlignment(Dimension componentDimension, Dimension parentDimension, Offset offset, VerticalAlignment alignment);
    }
}